import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:share_fit/app/models/sports/sport_detail_data.dart';
import 'package:share_fit/app/models/sports/sport_gps_data.dart';

class MotionState {
  int signal = 4;
  bool isShowMap = true;
  bool isPause = false;
  bool isLock = false;
  double progressCount = 0;

  Map goalInfo = {};

  /// 运动中步幅数据, 步幅，单位：cm
  List<int> strideList = [];

  List<SportGpsData> gpsDataList = [];

  List<SportDetailData> detailDataList = [];

  Polyline polyLine = Polyline(polylineId: PolylineId('onMotion'), points: [], color: Colors.redAccent, width: 5);

  List<Marker> markers = [Marker(markerId: MarkerId('start')), Marker(markerId: MarkerId('end'))];

  MotionState() {
    ///Initialize variables
  }
}
